

#ifndef _SHELL_REQOPERATEMAIL_MESSAGE_H_
#define _SHELL_REQOPERATEMAIL_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
using namespace std;

class ReqOperateMailMessage : public Message
{
	public:
	ReqOperateMailMessage();
	~ReqOperateMailMessage();
	void reset();
	ReqOperateMailMessage* clone();
	static const int _ID;
	//1.删除邮件。2提取邮件
	int8 type;
	//邮件id
	int64 mailId;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
